package com.liuqi.iot.service;

import com.liuqi.common.base.service.BaseService;
import com.liuqi.iot.bean.dto.DeviceModelFieldDTO;
import com.liuqi.iot.bean.dto.DeviceModelPublishedDTO;
import com.liuqi.iot.bean.query.DeviceModelPublishedQuery;

import java.util.Map;

/**
 * 设备模型发布结果表服务接口 
 * @author Coder Generator 2025-03-22 16:54:14 
 **/
public interface DeviceModelPublishedEntityService extends BaseService<DeviceModelPublishedDTO, DeviceModelPublishedQuery> {
    /**
     * 根据设备编号查询模型信息
     */
    DeviceModelPublishedDTO findByDevice(String deviceCode);

    /**
     * 根据设备编号获取设备字段列表
     * @param deviceCode 设备编号
     * @return 设备字段列表
     */
    Map<String, DeviceModelFieldDTO> getDeviceFields(String deviceCode);
}